import javax.swing.*;

/**
 * Created by ospip on 2018/10/31.
 * Copyright (c) 2018 LLAP. All rights reserved.
 */
public class ENPanel extends PanelBuilder {
    public ENPanel() {
        super();
    }

    @Override
    public void buildButton() {
        panel.add(new JButton("Button"));
    }

    @Override
    public void buildLabel() {
        panel.add(new JLabel("Label"));
    }

    @Override
    public void buildTextField() {
        panel.add(new JTextField("TextField"));
    }

    @Override
    public JPanel build() {
        this.buildTextField();
        this.buildLabel();
        this.buildButton();
        return panel;
    }
}
